package com.service;

import com.pojo.StorageRecord;
import com.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecordService {
    List<StorageRecord> select(@Param("goodsName")String goodsName, @Param("supplierId")Integer supplierId, @Param("payStatus") Integer payStatus,
                               @Param("pageBegin")Integer pageBegin, @Param("pageSize")Integer pageSize);

    int count(@Param("goodsName")String goodsName,@Param("supplierId")Integer supplierId,@Param("payStatus") Integer payStatus);

    boolean add(StorageRecord storageRecord);

    StorageRecord getStorageRecordById(String id);
}
